BackgroundRemovalConfig

Configuration for the background removal plugin.

Use one of the concrete implementations to choose which segmentation backend should remove image backgrounds.

Properties

Link copied to clipboard
abstract val httpClient: OkHttpClient

HTTP client used to load input images and model assets.

Link copied to clipboard
abstract val remover: BackgroundRemover<*>

Backend implementation that produces segmentation masks for source images.